﻿// -----------------------------------------------------------------------
// <copyright file="Client.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace HashMaster.Lib
{
    using System;
    using System.Collections.Generic;
    //using System.Linq;
    using System.Text;
    using System.Runtime.Serialization;
    /// <summary>
    /// 客户机信息
    /// </summary>
    [DataContract]
    public class Client
    {
        /// <summary>
        /// 客户机名称 由用户自定义
        /// </summary>
        [DataMember]
        public string ClientName { get; set; }

        /// <summary>
        /// 客户机Mac地址 自动获取
        /// </summary>
        [DataMember]
        public string MacAddress { get; set; }

        /// <summary>
        /// 上一次激活时间
        /// </summary>
        [DataMember]
        public DateTime LastActive { get; set; }

        /// <summary>
        /// 客户机状态
        /// </summary>
        [DataMember]
        public EnumStatus Status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int Score { get; set; }
    }
}
